package com.eastfair.home.api;

import com.eastfair.core.base.R;
import com.eastfair.home.dto.VenueReportDrawingHistoryDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 报馆图纸提交记录 feign.
 *
 * @author dqq
 * @date 2022 /11/7
 */
@FeignClient(value = "home/venueReportDrawingHistory")
public interface VenueReportDrawingHistoryFeign {

    /**
     * 批量更新提交历史的审核状态.
     *
     * @param list the list
     * @return the r
     */
    @PostMapping("/batch/update/auditStatus")
    R<Boolean> updateBatchAuditStatus(@RequestBody List<VenueReportDrawingHistoryDTO> list);
}